package org.summerframework.component.security.permissions.service.dto;

import org.summerframework.core.page.PaginationQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.util.List;

/**
 * user_permissions_role_rel
 * @author
 */
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Data
@EqualsAndHashCode(callSuper = true)
public class UserPermissionsRoleRelQueryDTO extends PaginationQuery {
    /**
     * 主键
     */
    @ApiModelProperty(value = "根据主键排序")
    private Boolean orderById;

    /**
     * 角色id
     */
    @ApiModelProperty(value = "角色id")
    private Long roleId;

    /**
     * 权限id
     */
    @ApiModelProperty(value = "权限id")
    private Long permissionsId;

    /**
     * 权限id
     */
    @ApiModelProperty(value = "权限id")
    private Integer status;

    @ApiModelProperty(value = "角色列表id")
    private List<Long> roleIds;

    private Long userId;

    private Long parentId;
}
